<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <title>@yield('title', '思凯乐SCALER后台管理')</title>
    <link href="/assets/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="//cdn.bootcss.com/font-awesome/4.4.0/css/font-awesome.min.css" />
    <link rel="stylesheet" href="//cdn.bootcss.com/animate.css/3.5.2/animate.min.css" />
    <link rel="stylesheet" href="/assets/css/style.css" />
    <link rel="stylesheet" href="/assets/css/app.css" />
    <script src="/assets/jquery/jquery-2.0.3.js"></script>
    <!--[if lt IE 9]>
    <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    @yield('pageheader')
</head>
<body>
    <div id="wrapper">
        @include('admin/navbar')
        <div id="page-wrapper" class="gray-bg">
            <div class="row border-bottom">
                <nav class="navbar navbar-static-top white-bg" role="navigation" style="margin-bottom: 0">
                    <div class="navbar-header">
                        <a class="navbar-minimalize minimalize-styl-2 btn btn-primary" href="javascript:;">
                            <i class="fa fa-bars"></i>
                        </a>
                    </div>
                    <ul class="nav navbar-top-links navbar-right">
                        <li class="m-r">
                            <a class="count-info" href="{{url('admin/message/inbox')}}?is_new=1">
                                <i class="fa fa-envelope"></i>
                                <span id="totalNewMessage" class="label label-warning"></span>
                            </a>
                        </li>
                        <li>
                            <a href="{{url('admin/logout')}}" onclick="return confirm('您确定要退出吗？');"> <i class="fa fa-sign-out"></i>退出</a>
                        </li>
                    </ul>
                </nav>
            </div>
            @yield('content')
            @include('admin/footer')
        </div>
    </div>
    <div id="modalDialog" class="modal fade" aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" tabindex="-1"></div>
    <!-- <script src="http://apps.bdimg.com/libs/jquery/1.11.3/jquery.min.js"></script> -->
    <script src="/assets/bootstrap/js/bootstrap.min.js"></script>
    <script id="seajsnode" src="//cdn.bootcss.com/seajs/3.0.0/sea.js"></script>
    <script src="/assets/jquery/plugins/jquery.metisMenu.js"></script>
    <script src="/assets/jquery/plugins/jquery.slimscroll.min.js"></script>
    <script src="/assets/art-template/template-web.js"></script>
    <script src="/assets/layer/layer.js"></script>
    <script src="/assets/js/util.js"></script>
    <script src="/assets/js/app.js"></script>
    <script type="text/javascript">
        var load = '<div class="spiner-example"><div class="sk-spinner sk-spinner-circle"><div class="sk-circle1 sk-circle"></div><div class="sk-circle2 sk-circle"></div><div class="sk-circle3 sk-circle"></div><div class="sk-circle4 sk-circle"></div><div class="sk-circle5 sk-circle"></div><div class="sk-circle6 sk-circle"></div><div class="sk-circle7 sk-circle"></div><div class="sk-circle8 sk-circle"></div><div class="sk-circle9 sk-circle"></div><div class="sk-circle10 sk-circle"></div><div class="sk-circle11 sk-circle"></div><div class="sk-circle12 sk-circle"></div></div></div>';
    </script>
    @yield('pagescript')
</body>
</html>
